﻿using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCADALight.Models
{
    public class LogEventModel
    {
        public LogEventModel()
        {
            DateTime = DateTime.Now;
        }
        public DateTime DateTime { get; set; }
        public int LogLevel { get; set; }

        public string Source { get; set; }
        public string Message { get; set; }
    }

    public class LogEvent : PubSubEvent<LogEventModel>
    {
    }
}
